/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ejb;

import java.util.List;
import javax.ejb.Local;
import jpa.ApprovazioneDocumento;
import jpa.Documento;
import jpa.Upload;
import jpa.UploadTemp;

@Local
public interface GestioneFileLocal {

    List<Documento> listaFile(int start, int end);

    boolean uploadStudente(UploadTemp upload);

    boolean uploadTutor(Upload up, ApprovazioneDocumento ad, Documento doc);

    List<UploadTemp> listaFileDaApprovare(int start, int end);

    void approvaFile(int id, int tutorId);

    void eliminaFileDaApprovare(int id);

    List<Documento> ricerca(String termine, String cosa);

    int numeroFile();

    int numeroFileApprovare();

}
